Class MULinkUpdMessage

All Implemented Interfaces:
LTV

public class MULinkUpdMessage extends MultiUserMessage
This is a name update message from PT.
  • Field Details

    • linkOpId

      public int linkOpId
    • opType

      public int opType
    • linkId

      public int linkId
    • linkUuid

      public UUID linkUuid
    • portId

      public int portId
    • deviceType

      public int deviceType
    • cableType

      public int cableType
    • portName

      public String portName
    • portType

      public int portType
    • portPower

      public boolean portPower
    • straightPins

      public boolean straightPins
    • autoCross

      public boolean autoCross
    • bandwidth

      public int bandwidth
    • fullDuplex

      public boolean fullDuplex
    • autoNegotiate

      public boolean autoNegotiate
    • bandwidthAutoNegotiate

      public boolean bandwidthAutoNegotiate
    • duplexAutoNegotiate

      public boolean duplexAutoNegotiate
    • clockRate

      public int clockRate
    • dcePort

      public boolean dcePort
    • defaultPowerInline

      public int defaultPowerInline
    • powerInline

      public int powerInline
    • RequirePowerInline

      public boolean RequirePowerInline
    • ProvidingPowerInline

      public boolean ProvidingPowerInline
    • DevicePower

      public boolean DevicePower
    • OP_MAKE

      public static int OP_MAKE
    • OP_UPDATE

      public static int OP_UPDATE
    • OP_DISCONNECT

      public static int OP_DISCONNECT
    • OP_DELETE

      public static int OP_DELETE
  • Constructor Details

    • MULinkUpdMessage

      public MULinkUpdMessage()
      This function creates a link update message for the MU protocol.
  • Method Details

    • getMessage

      public static MULinkUpdMessage getMessage(EncodedBuffer buffer)
      A deserialization function that creates a new message from a PtmpBuffer object.
      Parameters:
      buffer - The PtmpBuffer to get from
      Returns:
      A new instance of a MULinkUpdMessage class get from the buffer
    • encodeTypeAndPayload

      public void encodeTypeAndPayload(EncodedBuffer buffer)
      Serializes the message into a PtmpBuffer.
      Specified by:
      encodeTypeAndPayload in interface LTV
      Overrides:
      encodeTypeAndPayload in class LTVImpl
      Parameters:
      buffer - The PtmpBuffer to put the message into
    • toString

      public String toString()
      Converts this message into a string for debugging purposes
      Overrides:
      toString in class MultiUserMessage
      Returns:
      A string representation of this message